docker pull onlyoffice/documentserver:latest
mkdir -p /opt/onlyoffice_work/logs
mkdir -p /opt/onlyoffice_work/data
mkdir -p /opt/onlyoffice_work/sdkjs-plugins
mkdir -p /opt/onlyoffice_work/lib

docker run -it -d --name onlyoffice_8804 -p 8804:80 \
-v /opt/onlyoffice_work/DocumentServer/logs:/var/log/onlyoffice \
-v /opt/onlyoffice_work/DocumentServer/data:/var/www/onlyoffice/Data \
-v /opt/onlyoffice_work/DocumentServer/sdkjs-plugins:/var/www/onlyoffice/documentserver/sdkjs-plugins \
-v /opt/onlyoffice_work/DocumentServer/lib:/var/lib/onlyoffice \
onlyoffice/documentserver:latest
